<template>
  <div class="comm-page-footer">
    <div class="content-page">
      <slot/>
    </div>
    <div class="content-page-footer">
      <slot name="footer"/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'CommPageFooter'
}
</script>

<style lang="scss" scoped>

.comm-page-footer {
  position: relative;
  width: 100%;
  height: 100%;

  .content-page {
    position: absolute;
    top: 0;
    width: 100%;
    bottom: 45px
  }

  .content-page-footer {
    position: absolute;
    height: 45px;
    line-height: 45px;
    bottom: 8px;
    left: 20px;
    right: 20px;
    border-top: 1px solid #e9ecf1;
    text-align: right;
  }
}
</style>
